using System.Net;

namespace Comms.Drt {
    public class MalformedMessageException : ProtocolViolationException {
        public IPEndPoint SenderAddress;

        public MalformedMessageException(string message, IPEndPoint senderAddress) : base(message) => SenderAddress = senderAddress;
    }
}